﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000883 RID: 2179
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetWolfBroGameDataScRsp : IMessage<GetWolfBroGameDataScRsp>, IMessage, IEquatable<GetWolfBroGameDataScRsp>, IDeepCloneable<GetWolfBroGameDataScRsp>, IBufferMessage
	{
		// Token: 0x17001B70 RID: 7024
		// (get) Token: 0x0600615E RID: 24926 RVA: 0x00102D35 File Offset: 0x00100F35
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetWolfBroGameDataScRsp> Parser
		{
			get
			{
				return GetWolfBroGameDataScRsp._parser;
			}
		}

		// Token: 0x17001B71 RID: 7025
		// (get) Token: 0x0600615F RID: 24927 RVA: 0x00102D3C File Offset: 0x00100F3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetWolfBroGameDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B72 RID: 7026
		// (get) Token: 0x06006160 RID: 24928 RVA: 0x00102D4E File Offset: 0x00100F4E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetWolfBroGameDataScRsp.Descriptor;
			}
		}

		// Token: 0x06006161 RID: 24929 RVA: 0x00102D55 File Offset: 0x00100F55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataScRsp()
		{
		}

		// Token: 0x06006162 RID: 24930 RVA: 0x00102D60 File Offset: 0x00100F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataScRsp(GetWolfBroGameDataScRsp other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006163 RID: 24931 RVA: 0x00102DAC File Offset: 0x00100FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWolfBroGameDataScRsp Clone()
		{
			return new GetWolfBroGameDataScRsp(this);
		}

		// Token: 0x17001B73 RID: 7027
		// (get) Token: 0x06006164 RID: 24932 RVA: 0x00102DB4 File Offset: 0x00100FB4
		// (set) Token: 0x06006165 RID: 24933 RVA: 0x00102DBC File Offset: 0x00100FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x17001B74 RID: 7028
		// (get) Token: 0x06006166 RID: 24934 RVA: 0x00102DC5 File Offset: 0x00100FC5
		// (set) Token: 0x06006167 RID: 24935 RVA: 0x00102DCD File Offset: 0x00100FCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06006168 RID: 24936 RVA: 0x00102DD6 File Offset: 0x00100FD6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetWolfBroGameDataScRsp);
		}

		// Token: 0x06006169 RID: 24937 RVA: 0x00102DE4 File Offset: 0x00100FE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetWolfBroGameDataScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600616A RID: 24938 RVA: 0x00102E34 File Offset: 0x00101034
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600616B RID: 24939 RVA: 0x00102E89 File Offset: 0x00101089
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600616C RID: 24940 RVA: 0x00102E91 File Offset: 0x00101091
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600616D RID: 24941 RVA: 0x00102E9C File Offset: 0x0010109C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600616E RID: 24942 RVA: 0x00102EF8 File Offset: 0x001010F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600616F RID: 24943 RVA: 0x00102F50 File Offset: 0x00101150
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetWolfBroGameDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006170 RID: 24944 RVA: 0x00102FB8 File Offset: 0x001011B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006171 RID: 24945 RVA: 0x00102FC4 File Offset: 0x001011C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 80U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.wolfBroInfo_ == null)
					{
						this.WolfBroInfo = new WolfBroInfo();
					}
					input.ReadMessage(this.WolfBroInfo);
				}
			}
		}

		// Token: 0x04002551 RID: 9553
		private static readonly MessageParser<GetWolfBroGameDataScRsp> _parser = new MessageParser<GetWolfBroGameDataScRsp>(() => new GetWolfBroGameDataScRsp());

		// Token: 0x04002552 RID: 9554
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002553 RID: 9555
		public const int WolfBroInfoFieldNumber = 2;

		// Token: 0x04002554 RID: 9556
		private WolfBroInfo wolfBroInfo_;

		// Token: 0x04002555 RID: 9557
		public const int RetcodeFieldNumber = 10;

		// Token: 0x04002556 RID: 9558
		private uint retcode_;
	}
}
